/*
 * G2OStatus.h
 *
 *  Created on: Sep 30, 2016
 *      Author: ubuntu
 */

#ifndef G2O_G2OSTATUS_H_
#define G2O_G2OSTATUS_H_

#include <iostream>
#include "../Status.h"

using namespace std;

class G2OStatus : public Status{
public:
	G2OStatus(const char *obdid);
	virtual ~G2OStatus();
	virtual void init(int type, time_t starttime, time_t stoptime, double lng_end, double lat_end, time_t lasttime, int version);
	const char *getObdid();


private:
	char m_obdid[16];
	time_t starttime;
	time_t stoptime;
	int version;
	int type;
	double lng_end;
	double lat_end;
	time_t lasttime;
	int updateable;
};



#endif /* G2O_G2OSTATUS_H_ */
